<?php

class GoodsImageModel extends Model {

    protected $_validate = array (
		array('picname','require','图片不能为空', 1),
		array('goodsID','require','商品不能为空', 1),
    );	

    protected $_auto = array (
		array('createTime','time',Model::MODEL_INSERT,'function'),
		array('updateTime','time',Model::MODEL_BOTH,'function'),	
	);

}
?>